package com.qf.test.mapper;

import com.qf.test.entity.Book;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BookMapper {
    @Select("select * from t_books")
    List<Book> findAllBook();

    @Select("select count(*) from t_books")
    Integer findAllBookCount();
}
